﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ChangeAccountBal.aspx.cs" Inherits="WebTraderLite.Account.ChangeAccountBal" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h2>Account Balance</h2>

<p>Bank Account Number or Credit Card Number: </p>
<asp:TextBox ID="AccountNum" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="AccountNumRequired" runat="server" ControlToValidate="AccountNum" 
CssClass="failureNotification" ErrorMessage="Account Number is required." ToolTip="Account Number is required." 
ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>

<p>Current Balance</p>
<asp:Label ID="currBal" runat="server"></asp:Label>

<p><asp:Label ID="Error" runat="server"></asp:Label></p>
<p>Add or Subtract (For Subtracting put a minus number) :</p>
<asp:TextBox ID="AddBalance" runat="server"></asp:TextBox>
<p>
<asp:Button ID="btnchangeBalance" runat="server" Text="Change Balance" OnClick="btnChangeBalance_Click"/>
</p>
</asp:Content>
